<?php exit;?>
{if $type == 'index'}
	
{elseif $type == 'category'}
	<div class="weizhi marginb">您现在的位置是：<a href="{$host}">首页</a>&nbsp;>&nbsp;
	{php}
		$html='';
		function navcate($id){
			global $html;
			$cate = new Category;
			$cate->LoadInfoByID($id);
			$html ='<a href="' .$cate->Url.'" title="查看' .$cate->Name. '中的全部文章">' .$cate->Name. '</a> '.$html;
			if(($cate->ParentID)>0){navcate($cate->ParentID);}
		}
		navcate($category->ID);
		global $html;
		echo $html;
	{/php}
	</div>
{elseif $type =="article"}	
	 <div class="weizhi marginb">您现在的位置是：<a href="{$host}">首页</a>&nbsp;>&nbsp;
	 {php}
		$html='';
		function navcate($id){
			global $html;
			$cate = new Category;
			$cate->LoadInfoByID($id);
			$html ='<a href="' .$cate->Url.'" title="查看' .$cate->Name. '中的全部文章">' .$cate->Name. '</a> '.$html;
			if(($cate->ParentID)>0){navcate($cate->ParentID);}
		}
		navcate($article->Category->ID);
		global $html;
		echo $html;
   {/php} &nbsp;>&nbsp; 正文
   </div>
{elseif $type =="page"}
	 <div class="weizhi marginb">您现在的位置是：<a href="{$host}">首页</a>&nbsp;>&nbsp;正文</div>
{elseif $type =="tag"}
<div class="weizhi marginb">您现在的位置是：<a href="{$host}">首页</a>&nbsp;>&nbsp;标签存档：{$tag.Name}</div>
{elseif $type =="author"}
	 <div class="weizhi marginb">您现在的位置是：<a href="{$host}">首页</a>&nbsp;>&nbsp;{$author.Name} 的文章</div>
{else}	
	<div class="weizhi marginb">您现在的位置是：<a href="{$host}">首页</a>&nbsp;>&nbsp;{$title}</div>
{/if}	
        
